import request from '../utils/request'
//获取陪护师头像列表
export const photoList = () => {
    return request.get('/photo/list')
}
// 新增陪护师

export const companion = (data) => {
    return request.post('/companion',data)
}
//获取陪护师列表
export const companionList = (params) => {
    return request.get('/companion/list',{params})
}
//删除陪护师  
export const deleteCompanion = (data) => {
    return request.post('/delete/companion',data)
}